//
//  XHRepairOneCell.m
//  xidian
//
//  Created by fengyn on 16/5/18.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "XHRepairOneCell.h"

@implementation XHRepairOneCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.ui_bgView.layer.masksToBounds=YES;
    self.ui_bgView.layer.cornerRadius=4;
    
    self.ui_button.layer.cornerRadius=4;
    self.ui_button.layer.borderColor=[ColorManager colorWithHexString:@"F65E5E"].CGColor;
    self.ui_button.layer.borderWidth=0.5f;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)buttonAction:(id)sender {
    if ([self.delegate respondsToSelector:@selector(repairButtonAction:)]) {
        [self.delegate repairButtonAction:self];
    }
}
@end
